A magnetizing system for dichroism measurements in soft x-ray emission excited by synchrotron radiation