Counterions in polyelectrolyte multilayers: A vehicle for introducing functionalities