duck type to string when quoting identifier