WICKET-5577 Generation of wicket ids with prefix / suffix

(cherry picked from commit ccff0802a729bc10d84ed876ec08d408efc377af)