protected function generateIdentifier()
	{
		// If the mongo extension is loaded, utilize it to generate a UUID.
		if(extension_loaded('mongodb'))
		{
			$newObjectId = new \MongoDB\BSON\ObjectID();

			$uuid = $newObjectId->__toString();
		}
		else
		{
			$uuid = bin2hex(openssl_random_pseudo_bytes(12));
		}

		return $uuid;
	}