Created by: jpoeppel
The GUI allows changing the name of nodes (especially when creating new graphs from scratch) which needs to be supported by Primo. As Primo internally uses actual node objects and their names interchangeably, special care needs to be taken when changing a node. This PR hopefully changes all relevant parts on the network side. Any inference structures (especially factor tree!) will obviously have to be recreated after changing a name.