def factory_generate_ids(starting_id=<NUM_LIT:1>, increment=<NUM_LIT:1>):
def generate_started_ids():<EOL><INDENT>val = starting_id<EOL>local_increment = increment<EOL>while(True):<EOL><INDENT>yield val<EOL>val += local_increment<EOL><DEDENT><DEDENT>return generate_started_ids<EOL>
Return function generator for ids starting at starting_id
        Note: needs to be called with () to make generator