Check for duplicated external identifiers on existing and new works