def createParticipant(activity, process, performer):
    participant = component.queryAdapter(
        activity, interfaces.IParticipant,
        process.definition.id + '.' + performer)