The mainid is a 3-bit unsigned integer in the range 0-7 which identifies a main audio service. Each main service should be tagged with a unique number. Seen in an AC-3 descriptor.