returns an element with the specific id and the position of that element within the svg elements array

def getElementByID(self, id):
        """ returns an element with the specific id and the position of that element within the svg elements array
        """
        pos=0
        for element in self._subElements:
            if element.get_id()==id:
                return (element,pos)
            pos+=1