This macro assigns functor id to the Class, which is used by QAbstractFunctor::functor_cast to determine if the cast can be done.