Merge pull request #2033 from sigmavirus24/name-attribute-text-check

Enforce text type of NameAttribute.value