identity: fixes to the eos-after and error-after properties
I copied error-after
to make the eos-after
property, but it turned
out there were some problems with that one, so this patch: adds
separate counters (so setting to NULL and reusing the element will
still work); clarifies the properties' min values; and reports an
error when both are set.