Consider DRYing this up by having formatTreeName call formatSpeciesName to generate the text between the square brackets.