server: use random generated node id

same here