Scaling of the ac permittivity in ion-conducting glasses