Chemical modification of corn fiber with ion-exchanging groups