Counterion selectivity in cationic polyelectrolytes