code: def get_scope_name(self):
          
          name = 'validate_' + unquote(self.resolution_scope).replace('~1', '_').replace('~0', '_')
          name = re.sub(r'[:/#\.\-\%]', '_', name)
          name = name.lower().rstrip('_')
          return name
docs: Get current scope and return it as a valid function name.