Cosmology with a primordial scaling field