Added get_label method to Record trait