The A Priori Design and Selection of Ionic Liquids as Solvents for Active Pharmaceutical Ingredients.