The logic is the same.
Fixed:
return $parent->getActuallFullName() . categoryPeer::CATEGORY_SEPARATOR . $this->getName();