def METHOD_NAME(self, element_id):
    """
    Allows for slicing:
     - elements[1:10]
     - elements[4]
     - elements[1:10:2]
     - elements[[1,2,5]]
     - elements[array([1,2,5])]
    """
    i = searchsorted(self.element_id, element_id)
    return self.slice_by_index(i)