public function getBaseIndexName($storeId = null) { return (string) $this->config->getIndexPrefix($storeId) . Mage::app()->getStore($storeId)->getCode(); }