function renaming in output attributes seems to be working. also replaces references in conditions. does not support multiple of the same thing (e.g., can't differentiate two count(*)s, even if they are scoped differently/aliased). also, none of the find/replace things are currently robust to string literals.