Can you cite some examples of this in other languages? It seems to occur time and time again in JS-land, but I rarely see other languages bad libraries getting 2000+ GH stars and onto HN with this kind of garbage.
FWIW. I have also always done the exact Base64 UUID op suggested when I need a shortened unique identifier...