Do tarballs store the user/group names as strings or do they store the uid/gid instead?
It is one of the goofy things about Unix systems is most tools speak uid/gid and woah is you if two machines on the network have “bob” only as different uid’s.
Not entirely sure if windows has the same problem as to be honest if you use active directory most of that stuff is auto-magic.
My hunch is that going with the ID vs. the “friendly name” has a bunch of trade offs and whichever you pick will come with serious drawbacks.