make generated temporary names more informative

This makes the names for internally generated temporaries a little more informative, making debugging a bit easier.