public function addAuthorizer($authorizer)
    {
        if (!$authorizer instanceof LibBaseDomainAuthorizerAbstract) {
            if (is_string($authorizer) && strpos($authorizer, '.') === false) {
                //create identifier
                $identifier = clone $this->_repository->getIdentifier();
                $identifier->path = array('domain','authorizer');
                $identifier->name = $authorizer;
                register_default(array('identifier' => $identifier, 'prefix' => $this->_repository->getClone()));
            } else {
                $identifier = AnService::getIdentifier($authorizer);
            }

            $authorizer = $identifier;

            $authorizer = AnService::get($authorizer);
        }

        array_unshift($this->_authorizers, $authorizer);
    }