public function getNamingContainer()
{
if (!$this->_namingContainer && $this->_parent) {
if ($this->_parent instanceof INamingContainer) {
$this->_namingContainer = $this->_parent;
} else {
$this->_namingContainer = $this->_parent->getNamingContainer();
}
}
return $this->_namingContainer;
}