Fix ComponentCopyAdvisor identifier renewal to take L0.TypeWithIdenfier properly into account
A previous fix was done for the same problem in Simantics redmine issue 7842 (c912edf1, 803c42fd and 0cfc6a9b) and it was simply wrong.
Using ModelingUtils.needsIdentifier is the most proper way to fix this.
Edited
by
Tuukka Lehtonen