fix (hack) for swift for xcode6beta5 - attributesByName[name] doesn't work - different string types (WTF?)