Magnetism and Synchrotron Radiation:Towards the Fourth Generation Light Sources