Refactor label collapsing into a single method in the base field class.