original_string: public function getMetricId()
      {
          if (!empty($this->metricId)) {
              return $this->metricId;
          }
  
          $id = $this->getId();
  
          return str_replace(array('.', ' ', '-'), '_', strtolower($id));
      }
code: public function getMetricId()
      {
          if (!empty($this->metricId)) {
              return $this->metricId;
          }
  
          $id = $this->getId();
  
          return str_replace(array('.', ' ', '-'), '_', strtolower($id));
      }
code_tokens: public function getMetricId ( ) { if ( ! empty ( $ this -> metricId ) ) { return $ this -> metricId ; } $ id = $ this -> getId ( ) ; return str_replace ( array ( '.' , ' ' , '-' ) , '_' , strtolower ( $ id ) ) ; }
docstring: Get the metricId which is used to generate metric names based on this dimension.
  @return string
docstring_tokens: Get the metricId which is used to generate metric names based on this dimension .