Magnetic fields & planet formation