Use common name to match species during tree import.

Fixes #1847