expanded attribute genration to remove punctuation from names
now treats dashes as separators