Comparison of different imidazolium supported ionic liquid polymeric phases with strong anion-exchange character for the extraction of acidic pharmaceuticals from complex environmental samples.