$page->id()

Returns the page id, which is the untranslated URI.

Example

<?php echo $page->id() ?>