If I want to use UUIDs as my entity IDs, I assume the way to go about that is to just generate one with (random-uuid) and then set :db/id to that value?
:db/id is system internal entity id (a long). You are not supposed to assign it an uuid.
You can have a unique attribute for that uuid.
Okay, got it. I worried that might be the case but couldn't see it directly mentioned in the docs.