Helper functions to generate the list of component and assemblages IDs