Create object using same name but with different parent

In reply to DhavalP:

It is allowed, but very unusual. When creating any hierarchy, siblings cannot have the same name. This is just like files and directory names.

The UVM has no way of knowing if the class variable holding the handle to the component has the same identifier name as the strings passed to the constructor. It also has no way of knowing if the class variables have the same hierarchy as the hierarchy passed to constructor. For debugging, it is best to keep them the same.