Unified ast.Call construction and simplified `get_lookup_name`