how would i increment an instantiated variables name?

heres what i have so far, but because i am declaring the name outside of the instantaite. it gives all of the clones the same name… i want them to be different, incrementing names. any help?

 for(var x : int = 0; x < gridX; x++){
 		
 			for( var y : int = 0; y < gridY; y++){
 				
 				var tile =  Instantiate(tilePrefab, Vector3(x * .5,0, y * .5) ,Quaternion.identity) as GameObject;
				tilePrefab.name = tilePrefab.name +"_x" + x + "_y"+ y;

I guess you want this line:

tilePrefab.name = tilePrefab.name +"_x" + x + "_y"+ y;

to be like this:

tile.name = tilePrefab.name +"_x" + x + "_y"+ y;