How about ```self.__class__.__name__``` (or similar)? I suspect I have completely missed the point here.