The domain user function arg spin_id can now be set to None.
This is useful if the domains are not associated with spins.
Authored by: bugman 2012-01-03
Parent: [r15129]
Child: [r15131]