code: def calculateKey( cls, target ):
          
          return (id(getattr(target,im_self)),id(getattr(target,im_func)))
docs: Calculate the reference key for this reference
  
          Currently this is a two-tuple of the id()'s of the
          target object and the target function respectively.