Extract string concatenation as message ID