The mutual influence of components of a medium on their sorption by polyamides