Does Delphi have anything built-in to generate UUIDs?
Yes TGUID, see this example
TGUID
program Guid; {$APPTYPE CONSOLE} uses SysUtils; begin WriteLn(TGUID.NewGuid.ToString()); end.