code: def findRoleID(self, name):
          
          for r in self:
              if r['name'].lower() == name.lower():
                  return r['id']
              del r
          return None
docs: searches the roles by name and returns the role's ID