->node_id() must be called on the SpeciesTreeNode object

(cherry picked from commit 59dea4cff024474c4f2ef92007000805d08c37a0)