def __add_tokenization(self, tree):
        """adds a node for each token ID in the document"""
        for token_id in self.get_token_ids(tree):
            self.add_node(token_id, layers={self.ns})
            self.tokens.append(token_id)
adds a node for each token ID in the document