basically the numerators and denominators come in separate lists, and this function tries to tag any denominators that look like they were also found in the numerator by case id and date