added functions to reset idd name in class IDF
removed IDF.resetidd. It does not work
in pytests if statement before setiddname