Force element name to contain a dash - Fixes #1