protected function valLabel($val, $lang = null)
    {
        if (is_string($val) && $this->hasChoice($val)) {
            $choice = $this->choice($val);
            return $this->l10nVal($choice['label'], $lang);
        } else {
            return $val;
        }
    }