use StringRef where possible

... instead of IdentifierPtr