BUG: Generate unique name in AddNewNodeByClass
Even though the documentation mentioned it, the implementation wasn't generating unique names. Fix it.
Even though the documentation mentioned it, the implementation wasn't generating unique names. Fix it.