add ReferenceSequence::id and associated changes

ReferenceSequence now has an id
move names to ReferenceSequenceSet::names[], and copy lengths to ReferenceSequenceSet::lengths[]