<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _parse_domain_id(self, config):
 """Scans the config block and parses the domain-id value Args: config (str):
 The config block to scan Returns: dict: A dict object that is intended to be merged into the resource dict """

        match = re.search(r'domain-id (.+)$', config)
        value = match.group(1) if match else None
        return dict(domain_id=value)