code: private function ensureNameQuoted($name)
      {
          $name = str_replace(["'", '"', '`', '[', ']'], '', $name);
          if ($name && !preg_match('/^{{.*}}$/', $name)) {
              return '{{' . $name . '}}';
          }
  
          return $name;
      }
docs: Ensures name is wrapped with {{ and }}
  @param string $name
  @return string