Returns the boundary name on a line that is used in FEA coupling
line – a line with a label
label – boundary name
string