Long shard id generator for node apps