sanitize attribute name before using it in arbitrary identifiers
test for using badly named attributes