Valency conversion of samarium ions under high dose synchrotron generated X‐ray radiation