use function identity comparison instead of Function.name

@monostop, a tiny change here -
IE11 does not yet support the ES6 feature Function.name
function identity comparison is well defined, though