implement simple spl_object_hash