Remove method setIdParameter with side effects

Remove method setIdParameter with side effects