I'd rather this line was ``get_identifier = _override_identifier_method() ``, then the method above renamed to ``default_get_identifier``.

That'd remove the need for the ``global`` as well as the assignment at the end of ``_override_identifier_method`` (make it a ``return identifier_method`` instead), which would reduce the side effects, making it easier to re-call later on.