Gld-
The wire selection, number of turns and resistance are all depen.dent on the output of your solar cells and how much room you have to wrap. You will want to measure the voltage and amperage of each of the cells, in full sunlight.
What your trying to accomplish is to make the strongest electromagnet possible.
This website does a good job towards the middle and end of explaining electromagnet calculations:
http://www.coolmagnetman.com/magdcem.htm
basically electromagnets strength are calculated by the amount of current flowing through the wire, and by the number of turns.
So say you have a solar cell that puts out .568 volts and .610 amps in full sun.
by rearranging ohms law, we know that if we divide our voltage by our resistance we can calculate the flow of current, or amps through the wire.
so we go to a chart that lists all the wire gauge sizes like so:
http://amasci.com/tesla/wire1.html
There we can see the diameters and resistances and then I just start playing with numbers.
Lets say it takes 12" of wire to make one turn of a coil on my motor. (you should measure yours and use that number)
if i use a 28 gauge wire and can make 200ft of wire fit at 200 turns then I can look at the resistance value chart and with a little math I know there should be around 12.8 ohms in that coil,
If I divide .568 by 12.8 ohms....I get a dismal .044 amps. My solar cell puts out .610 amps, but I can't use them because I have made a poor selection of wire. .044x200 turns= 8.8 ampere turns or the strength of the magnet. Remember thats in full sunlight. so if you want to make run inside, you must have the strongest magnet possible from your solar cells.
Well we need less resistance so lets go to a bigger wire.
Lets say I wrap a 23 gauge wire around it, but I can only get 120 turns or so physically on my motor. 120 feet of wire. The resistance calculated out for this one is 2.44 ohms for the 120 feet.
.568/2.44= .232 amps x120 turns= 27.9 ampere turns, much stronger then before, but still not flowing up to where my cells are at.
This is where choosing higher voltage cells or wiring them in series for higher voltage helps. The higher voltage will let you use smaller wire and more turns.
Just keep playing with the number till you find one that suits your needs. Hopefully I haven't confused you. But you should have all the info in those two links that will lead you to success.