Add helper function to associate regions in a TCAD field map with a given material name to a Medium object.