Get concrete class from id
I have one abstract class and several subclasses. All share one data/id global.
How can I get concrete class name from id (without opening the object)?
What I have so far:
It does the job, but is there a more official way?