public function generate(XmlEntityManager $xem, $xmlEntity)
    {
        if (!$this->salt) {
            throw new \Exception('Guid Generator requires a salt to be provided.');
        }

        $guid = $this->generateV4();
        return $this->generateV5($guid, $this->salt);
    }