Index: taxonomy.php
===================================================================
--- taxonomy.php	(revision 30260)
+++ taxonomy.php	(working copy)
@@ -553,7 +553,7 @@
 			continue;
 
 		if ( is_taxonomy_hierarchical( $taxonomy ) && $include_children ) {
-			_transform_terms( $terms, $taxonomies, $field, 'term_id' );
+			_transform_terms( $terms, $taxonomies, $field, $wpdb->term_taxonomy . '.term_id' );
 
 			if ( empty( $terms ) )
 				continue;
@@ -565,10 +565,10 @@
 			}
 			$terms = $children;
 
-			_transform_terms( $terms, $taxonomies, 'term_id', 'term_taxonomy_id' );
+			_transform_terms( $terms, $taxonomies,  'term_id', $wpdb->term_taxonomy . '.term_taxonomy_id' );
 		}
 		else {
-			_transform_terms( $terms, $taxonomies, $field, 'term_taxonomy_id' );
+			_transform_terms( $terms, $taxonomies, $field, $wpdb->term_taxonomy . '.term_taxonomy_id' );
 		}
 
 		if ( empty( $terms ) )
@@ -600,6 +600,7 @@
 	return compact( 'join', 'where' );
 }
 
+
 function _transform_terms( &$terms, $taxonomies, $field, $resulting_field ) {
 	global $wpdb;
 
