simplify name juggling through the use of Value::takeName.