A gemified version of the Symbol[str] method proposed in https://bugs.ruby-lang.org/issues/7854