Replace static string references by their string value when manipulating attributed string to allow runtime execution on iOS 5.1 and earlier