Use sprintf for message field formatting