Refactor: change name of pointer to better reflect functionality
Move node id handling to method, which creates new node