The above mentioned message appears even if there is no IDTree in the destination names directory. And the code comment mentions the wrong file.
Structure tree IDTree isn't merged
Merged file has several structure trees
Why i get the warning message “Removed /IDTree from /Names dictionary, doesn't belong there”?