Rename #generate_name to #generate_inst_name for clarity.