server: use random generated node id

add a comment? This return the index of the server in the cluster rather than the actual name/id of the server.