Variations of identifying codes in graphs obained by adding or removing one vertex