@classmethod
def getIdentity(cls):
    """return class identity as stored in database (currently class name
        with …Control stripped out)."""
    return cls.__mapper_args__['polymorphic_identity'
        ] if 'polymorphic_identity' in cls.__mapper_args__ else None
