Fix race in ext.RandId

The *rand.Rand source was not protected against concurrent access.
Merge pull request #15 from vanackere/fix-race-randid

Fix race in ext.RandId