add getId function for InterAutoEdge class