Added gen_id inverse setter logic to the generated BaseSetterChain classes.