Consolidates the ifPrototypeGetID function

@eric79 @youngca 
The ifPrototypeGetID function had been copied to several drivers, and these edits consolidate that function into the utility object.