Thought this would be straight forward... given a tag page such as http://domain.com/blog/tag/tag-1/ how can I retrieve the post_id while on that page?
The usual suspects such as url_to_postid and $post->ID or $wp_query->post->ID do not return anything. The hook that calls the function is running during init.
Thanks!