Synthesis, Characterization, Solution Behavior, and Density Functional Theory Analysis of Some Pyridinium‐Based Ionic Liquids