If taxonomy argument is a tree id, get it from the treestore; otherwise, assume it's a tree object. This allows loading multiple trees without re-loading the taxonomy.