fix bug if tp_self is thin  object which does not has object_id method(but has method_messiong metho)