Protoneutron star dynamos and pulsar magnetism