coerce string to NSAttributedString