method to identify identical readings; make flatten_ranks use it
pass through args from flatten_ranks to identical_readings