Modified return_spin() to handle multiple spin ID strings.
Authored by: bugman 2009-07-15
Parent: [r9236]
Child: [r9238]