How to know and change the machine name of a menu?

How to know and change the machine name of a menu?