Repairing an validation error of the 'name' string in method createAttri...

...bute