<｜begin▁of▁sentence｜>### Instruction:
As a biomedical engineer, you have been tasked with assigning unique identifiers to a list of newly created medical devices. These identifiers should start with a specific integer, for example, 10. You need to use a UniqueIdGenerator in Python to generate and assign consecutive unique IDs to these devices. This will ensure that each medical device has a distinct identifier for tracking and management purposes.
### Response:
from igraph import UniqueIdGenerator

class Element:
    def __init__(self):
        self.id = None

# Create a generator starting from 10
id_gen = UniqueIdGenerator(id_generator=10)
elements = [Element() for _ in range(5)]
for element in elements:
    element.id = next(id_gen)

# Print elements' ids
element_ids = [element.id for element in elements]
print(element_ids)
<|EOT|>
