Mask using detector ids.

This is to get around a bug with LoadMask/LoadInstrument
that always seems to load the newest IDF, which is the wrong
one in this case.

refs #8009