Added an NSString helper for converting to an attributed string.