def get_member_id():
    """
    Retrieve member if for the current process.

    :rtype: ``bytes``
    """
    proc_info = system_info.get_process_info()
    member_id = six.b("%s_%d" % (proc_info["hostname"], proc_info["pid"]))
    return member_id

    Retrieve member if for the current process.

    :rtype: ``bytes``
    
st2common/st2common/services/coordination.py