Description: A the moment processing of attributes exposed via query templates
is limited to a couple forms of escaping. This is too limiting. It would be
much nicer to be able to apply a format to an attribute (e.g. truncate
decimals or add a prefix) or detect when it is NULL or empty and present an
alternative representation. This RFC describes a simple scheme to allow for
extended processing of attributes before sending to the a users.