generate_temp_name function

Generate unique temporary table/view name