Implements primitive tags.
Makes ->msg use the :form value, if present.
Implements parsing register tag.