Ion-selective electrodes based on a pyridyl-containing triazolophane: altering halide selectivity by combining dipole-promoted cooperativity with hydrogen bonding.