Exposed ToIdent

I find cases where it is useful to implement instances of this.