Correct ID generation in RPC reply. Fix #60

done