Correct ID generation in RPC reply. Fix #60