protected function generateTaxonomyName()
    {
        $matches = [];
        preg_match('@\\\\([\w]+)$@', get_called_class(), $matches);
        $taxonomyName = strtolower(
            preg_replace('/(?<=\\w)(?=[A-Z])/', "-$1", $matches[1])
        );

        // Use the existing WordPress taxonomy post_tag with an underscore
        if ($taxonomyName === 'post-tag') {
            $taxonomyName = 'post_tag';
        }

        return $taxonomyName;
    }