Check if element with same ID but different texts are extracted. Exit with error message in that case.