private function getSchemaToolServiceIdForCurrentConfig(array $currentManagerConfig, ContainerBuilder $container)
    {
        // If there is a schema_tool configured, use it.
        if(!empty($currentManagerConfig['schema_tool'])) {
            return $currentManagerConfig['schema_tool'];
        }

        $serviceId = sprintf(
            'h4cc_alice_fixtures.orm.schema_tool.%s',
            $this->getCleanDoctrineConfigName($currentManagerConfig['doctrine'])
        );

        if (!$container->has($serviceId)) {
            $schemaToolDefinition = new Definition();
            $schemaToolDefinition->setClass($this->getSchemaToolClass($currentManagerConfig['doctrine']));
            $schemaToolDefinition->setArguments(array(
                new Reference($this->getCleanDoctrineConfigName($currentManagerConfig['doctrine']))
            ));
            $container->setDefinition($serviceId, $schemaToolDefinition);
        }

        return $serviceId;
    }