Assign random names for trees