Solve a problem where you are given an array of [ID, entry] and you need to find the ID with the maximum number of entries.
Implement find_id_max_entries(records). Each record is a two-element list containing an ID and an entry. Return the ID that occurs in the greatest number of records. If multiple IDs tie, return the ID whose first occurrence appears earliest in the input. IDs are hashable, and each input contains at least one record.
def find_id_max_entries(records):