Identify errors using tags

Tags may be values of error id types, or of any other type.
Add examples