When you are instructed to change the SSR code, you change the code and recycle (switch to standby then switch back to Mode C). There is no requirement to ident, this is for two readons 1) If ATC wanted you to ident, they would have told you, and 2) By you changing your SSR code to one that you have been instructed to, is in itself a method of identification.
ATC...