dict_insert
id = dict_insert(name);
inst->ri_id = (id != -1 ? id : dict_insert(name));
int dict_insert(const char *);