protected function escapeId($id)
    {
        if (!$this->replace) {
            return $id;
        }

        return str_replace(array_keys($this->replace), array_values($this->replace), $id);
    }
protected function escapeId($id)
    {
        if (!$this->replace) {
            return $id;
        }

        return str_replace(array_keys($this->replace), array_values($this->replace), $id);
    }
protected function escapeId ( $ id ) { if ( ! $ this -> replace ) { return $ id ; } return str_replace ( array_keys ( $ this -> replace ) , array_values ( $ this -> replace ) , $ id ) ; }
Escape the id for safe usage in translation keys.

@param string $id

@return string
Escape the id for safe usage in translation keys .