Currently the variables for Summary Fields are stored in the civicrm_setting table using their "local" names:
generate_schema_and_data
event_type_ids
I would suggest to namespace these to something like sumfields_, ex:
sumfields_generate_schema_and_data
sumfields_event_type_ids
This would make it more clear what the variables are when viewed outside the Summary Field context.
sumfields_get_setting() could be modified to directly use this as a prefix so most of the code can remain the same.