Support using string resource ID for most text assertions.