Add USE_METHOD_NAME_FOR_ANCHORS.

This new option makes it possible to choose to generate "nice"
anchors.

This is off by default due to the fact that this does not handle
cases of duplicate method names gracefully.