You have to find the XML file that covers the particular object you want the name of. For example, in StarbaseDefs, you will find the internal names for different starbase types, PlanetTraitDefs has the different possible super options available for planets, etc.