Spectroscopic investigation of ion-molecule interactions in polymer solutions