#178 Remove TreeNode.getInstanceId

This was a top 10 hotspot.  Instead, store the instance ID directly.  Yes, this duplicates data, but it's performance critical and since its final, there's nothing to keep in sync with.