Forward location information through errors

This was already scaffolded, but not working.  This gets our parse error
tests working with error indexes.

This also constrains the element syntax '#id' to throw an error if no id
is provided.