class_docstr: AST Node Transformer to replace function calls, methods, and
  attributes.
code: def visit_Attribute(self, node):
      if (
          isinstance(node.value, ast.Name)
          and f"{node.value.id}.{node.attr}" in replace_map
      ):
          return ast.copy_location(
              ast.Name(
                  replace_map[f"{node.value.id}.{node.attr}"], node.ctx
              ),
              node,
          )
      return node
  
file_path: ivy/ivy/compiler/replace_with.py
imports: import ast
  import astunparse
  import inspect
label_desc: Use image node_id 1 for calling the ReplaceFunction obj's underlying member method code with example usage: obj.visit_Attribute(node) and returns: node, ast