bugzid:7787 id is a special value in python

changed the methods to use idvalue as variable names