added setName() function to Plug and Circuit, so as to be able to generate log messages when naming an item