protected function getPublicNameFromIndex($subject)
    {
        foreach ($this->names as $name => $index) {
            if ($subject == $index) {
                return $name;
            }
        }

        return $subject + 1;
    }