Use QName's name in its Order instance

Fixes #667