Sanitize taxonomy names. Closes #2844.