better error messages for unsupported tag names

fixes #227