Generalized $I$-asymptotically nonexpansive mappings