NavItemView: assign conflict-free internal view IDs