Don't create invalid perl names when XML has unusual names
Prevent duplicate names after they have been treated
Merge branch 'master' into unusual-names

Just pulling forward to simplify upstream merge
Fixed awkward locution in _perl_names
Fixed indentation
Merge pull request #10 from jonathanstowe/unusual-names

Unusual names