'Add or replace all identities for the given JID/node combination.
The identities must be in a set where each identity is a tuple
of the form: (category, type, lang, name)
Arguments:
jid        -- The JID to modify.
node       -- The node to modify.
identities -- A set of identities in tuple form.
lang       -- Optional, xml:lang value.'

def set_identities(self, jid=None, node=None, **kwargs):

    self.api['set_identities'](jid, node, None, kwargs)
