write xmlrpc function _product_to_id that is to be contributed to the upstream. Please refer to the following url for details on Bugzilla::RPC 2.18 functions mapped to upstream Bugzilla::WebService and for 2.18 xmlrpc functions sorted by percentage of calls: https://engineering.redhat.com/trac/bugzilla-3.0-rh/wiki/XmlrpcCrossComparison#a2.18xmlrpcfunctionssortedbypercentageofcalls
This function is no longer needed , it was used by other xmlrpc function in 2.18 to get product id from product name, in 3.2 there are other ways to obtain this information by using the product object.