private function extendContainer($tag, Definition $definition, $identifier = '')
    {
        if ('' !== $identifier) {
            $identifier .= '.';
        }

        $this->container
          ->setDefinition("$this->configKey.$identifier$tag", $definition)
          ->addTag($tag);
    }