It is possible to access reference to menu item ID (e.g. MenuItem::id()) but it is not possible to convert menu item into its ID without clone. In my application, I'm managing menu items by IDs and ...