protected function _name($request)
{
$type = $request->action;
$name = $request->args();
try {
$command = $this->_instance($type);
} catch (ClassNotFoundException $e) {
$command = null;
}
if ($command) {
$request->params['action'] = $name;
$name = $command->invokeMethod('_class', array($request));
}
$request->params['action'] = $type;
return $name;
}