I like this idea. I am always having to count the number of different types in the XML in order to figure out what is what. This would work great for debugging AI, and especially for things like Professions where you need to see what the AI thinks about each profession and why. With that you wouldn't have to count out the number of professions. Handy dandy.