match graphite output for sum()
Add alias()

This patch includes support for parsing string constants as arguments,
and updates all the tests to check that the computed name is correct.
(In a few cases it wasn't.)