Add menu ids to selector list.

From #2875.