Fixes #1025, spaces in id-to-taxonomy file break assignment with Mothur.

New pull request based on latest version of QIIME codebase.
Happy to move to constructor.

My thinking was that I wanted to raise an AttributeError if _unformat_taxon() was called without first calling _format_taxon().  However, we cover these method calls in tests, so are unlikely to introduce that type of bug.