Refactor extract method `find_record_from_identifier`
Minor refactor rename variables for coherence and clarity