'Get the NameIDFormat to used for the entity id
:param: The SP entity ID
:retur: The format'

def get_nameid_format(self, sp_entity_id):

    return self.get('nameid_format', sp_entity_id, saml.NAMEID_FORMAT_TRANSIENT)
