JAL-3195 revised SequenceIdMatcher (tests todo)