Use id as TreeNode identifier rather than data.