Behaviour of cationic polyelectrolytes upon binding of electrolytes: effects of polycation structure, counterions and nature of the solvent