some simplifications in bam classes for faster extraction of read group ids