def METHOD_NAME(self, obj):
    """
    Defined to generate public stuff within a class.
    @param args: the instance of the concrete element to operation on.
    """
    c = publicTopologyID.publicTopologyID()
    c.id_list = (
        []
    )  # Contents will be strings in the form 'component name,instance name,base id,window range'
    #
    # Generate Set Window/Base ID Method
    for id_tuple in obj.get_base_id_list():
        n = id_tuple[0]
        type = id_tuple[3].get_type()
        base_id = id_tuple[1]
        window_id = id_tuple[2]
        instance_list = [type, n, base_id, window_id]
        c.id_list.append(",".join(str(x) for x in instance_list))
    #
    self._writeTmpl(c, "publicVisit")