etag() helper. Closes #1783