Bug fix for the residue.rename() user function.
The res_id argument was being tested as an int whereas it is a str.
Authored by: bugman 2007-11-20
Parent: [r3678]
Child: [r3680]