add id field for Messages