use /dev/urandom for generating a unique id