<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_segmentation_id(self, netid, segid, source):
 """Allocate segmentation id. """


        return self.seg_drvr.allocate_segmentation_id(netid, seg_id=segid,
                                                      source=source)