Port element traits to use atoms instead of strings.
Merge pull request #2892 from glennw/element-atom

Port element traits to use atoms instead of strings.