server: use random generated node id

will %q work?