Whistler, I think what he means is that he wants the base class to be able to find out what the derived class is. Like this:
Code:
CBaseClass *instance = new CDerivedClass;
instance.identify();
If you use your method, wouldn't it always return the main class's name?