Bugfix when calculating uri from id

There was an tiny error in the id2uri function. This leads to invalid uris when the real one started with zeros.