Writing this[rename](...) instead of this.rename(...) is hardly onerous.
Your solution mostly works, but a simpler one takes advantage of combining computed property keys and compact method syntax:
Your solution mostly works, but a simpler one takes advantage of combining computed property keys and compact method syntax: