One of the standard jokes in astrophysical modeling is that if there is ever a discrepancy between your model and observations you simply attribute it to some combination magnetic fields and turbulence. Let's say your model of star formation fails miserably to reproduce the observed initial mass function in our galaxy. What do you do? Blame turbulence and magnetic fields, present some overly simplistic explanation of why turbulence and magnetic fields would give you the right answer if you could just capture them properly, and then promise to include them in some ill-defined future simulation.
Check out the article over at Physics Today for a great explanation of why dynamos are so ubiquitous, why they are so hard to predict, and what is being done with theory, modeling, and laboratory experiments to unravel the mystery.