allow get_object_id on unregistered models