(rebuild) Extract out the attribute.value parsing logic to a separate function;
this will eventually allow it to be replaced with a more advanced
expression syntax.
saving