public function generateCustomId(CustomIdentifiable $entity, bool $overwrite = false)
    {
        if (null === $entity->getCustomId() || $overwrite) {
            $customId = uniqid();
            $entity->setCustomId($customId);
        }

        return $this;
    }