public function name($actor, $linked = true, $attr = array())
    {
        if (is_null($actor) || !isset($actor->id)) {
            $linked = false;
            $name = '<span class="actor-name">'.AnTranslator::_('LIB-AN-UNKNOWN-PERSON').'</span>';
        } else {
            $name = '<span class="actor-name" actorid="'.$actor->id.'">'.$actor->name.'</span>';
            if($actor->verified){
              $name = $name.' <span class="icon icon-ok-sign"></span>';
            }
        }

        if (!$linked || !$actor->authorize('access')) {
            return (string) $name;
        }

        $url = route($actor->getURL());

        if (is_person($actor)) {
            $attr['title'] = '@'.$actor->alias;
        }

        $name = '<a class="actor-name" '.$this->_buildAttribute($attr).' actorid="'.$actor->id.'" href="'.$url.'" >'.$name.'</a>';

        return $name;
    }