public function getLevelCode($levelName)
    {
        $levelName = strtoupper($levelName);

        $levels = $this->getLevels();

        if (isset($levels[$levelName])) {
            return $levels[$levelName];
        }

        return $levels[$this->defaultLevelName];
    }