How do I get id for a menu item?

Does this work for the site menu? And can I get the menu item id by inspecting the page code in preview mode (e.g. “DrpDwnMn12”)? IOW, will this work for hiding a specific element, not the entire menu?