Change _pytest.python._idval to return __name__ for functions instead of using the fallback (argument name plus counter).