def uniqueMemberDiff(before, after):
    """
    Special diff logic for the uniqueMember attribute
    """
    before_uids = []
    after_uids = []
    for member in before:
        member = member.split(',')
        before_uids.append(member[0].split('=')[1])
    for member in after:
        member = member.split(',')
        after_uids.append(member[0].split('=')[1])
    before_uids = set(before_uids)
    after_uids = set(after_uids)
    return list(after_uids.difference(before_uids)), list(before_uids.
        difference(after_uids))
