Fixed bug with reading or writing links with no aliases
Better id generation for new nodes using a Linear Congruential Generator