protected function doMap($text, $mode)
    {
        $map = $this->aliasing->getAliasingMap([$text], $mode);

        if (count($map) === 1) {
            return current($map);
        }
        
        return $text;
    }