Get an active page ID for a navigation.