add: id field in events and messages (fix: #1)