Add val(); still needs work.

I'll have to rejigger this once prefixes are on attributed strings.
There's a TODO item for this on the val() definition in parse.py.