Why are we reversing the endianness of IDs after generating them? I'm assuming this was imported from original noeqd, but it seems strange. Could we just pass values around in the original endianness? I think there's code in the ruby side to handle this specifically too. It's probably not worth changing at this point, but it's strange to me.