Uniqueness for an inverse problem originating from magnetohydrodynamics. A class of smooth domains.