The client’s ID for a resource and the server’s ID for that resource need not be the same.
Of course, adding two IDs for a resource complicates things. But so too does trusting client-generated IDs to be universally unique.