Use support_key? to detect whether the table has only ID or both ID and key