Ion chain interaction in polymers