Hello H-B,
if PythonScript has been already installed, then a simple script could do the job.
Place the cursor where you want to add the uuid and execute the following script.
import uuid
uuid = str(uuid.uuid4())
editor.addText(uuid)
In addition the ToolBucket plugin has such functionality, be aware that the
version which plugin manager knows isn’t the most recent one.
This can be found here.
Cheers
Claudia