public function getSlug($forceRegeneration = false)
    {
        $owner = $this->getOwner();
        $field = $this->fieldToSlug;
        $unfilteredSlug = $owner->URLSlug;
        if (!$unfilteredSlug || $forceRegeneration) {
            $unfilteredSlug = $owner->$field;
        }
        return URLSegmentFilter::create()->filter($unfilteredSlug);
    }