Set message name on body validation.