Move the methods and data that we need for the Binary Tree into the Identifier class and clean up the Token class.

Move the methods and data that we need for the Binary Tree into the
Identifier class and clean up the Token class.