Get the post or page ID by the slug of the page.