Good point. There are implementations of this in various languages, then, that are linked in the blog post.
I'm not sure how difficult it would be to tell postgres to only generate the identifier if it's not part of the inserted data already... but that might be a nice compromise