public function getCookieName($type)
    {
        $defaultCookieNames = $this->getConfigArrayOption(
            'default_cookie_names',
            [
                'segment' => EcomDev_Varnish_Model_Customer_Observer::COOKIE_SEGMENT
            ]
        );

        $cookieNames = $this->getConfigArrayOption(
            'cookie_names',
            []
        );


        $cookieNames = $defaultCookieNames + $cookieNames;

        if (isset($cookieNames[$type])) {
            return $cookieNames[$type];
        }

        return $type;
    }