formatAttribute
Format a specific attribute of a message by ID.
Uses the AST path (calls FluentMessage.getAttributeValue) rather than string-concatenating "$id.$attribute". Returns null if either the message or the attribute is missing.