"pre" is not unique any longer, we also have to check for component id and corpus_ref

fixes #138