public function slugify($name, $pluralize = true)
    {
        if (class_exists($name)) {
            $name = $this->shortName($name);
        }

        $inflector = Inflector::get();

        if ($pluralize === true) {
            $name = $inflector->pluralize($name);
        }

        return $inflector->dasherize(
            $inflector->underscore($name)
        );
    }