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