public function getUniqueCounterValue($text, $isRootLevel = true)
    {
        if ($isRootLevel) {
            foreach ($this->configuration['reservedNames'] as $reservedName) {
                // Case insensitive comparison
                if (strcasecmp($text, $reservedName) === 0) {
                    return 2;
                }
            }
        }

        return 1;
    }