Fix handling of messages with repeating segments.
Support named attribute access to segments that do not include trailing empty fields.

Otherwise we get an error accessing these fields:
AttributeError: 'HL7Segment' object has no attribute 'ssn_number_patient'