Ionic environment and transport in polymer electrolytes