identity_provider.name is used instead of identity_provider_id to remove dependency on model id. Whatever the id is using object will remove this dependency