code: public static function mapIdToCamelCase(string $id) : string
      {
          $id = preg_replace('/[^a-zA-Z0-9]+/', '_', $id);
          $id = preg_replace('/_{2,}/', '_', $id);
  
          $parts  = explode('_', $id);
          $result = '';
  
          foreach ($parts as $part) {
              $result .= ucfirst($part);
          }
  
          return $result;
      }
docs: @param string $id
  
  @return string