Create an Identity

        :param: name identity name
        :param: attrs list of dict of attributes (zimsoap format)
        :returns: a zobjects.Identity object

def create_identity(self, name, attrs=[]):
        """ Create an Identity

        :param: name identity name
        :param: attrs list of dict of attributes (zimsoap format)
        :returns: a zobjects.Identity object
        """
        params = {
            'name': name,
            'a': attrs
        }
        resp = self.request('CreateIdentity', {'identity': params})
        return zobjects.Identity.from_dict(resp['identity'])