Generate a unique ID for each menu item