def create_behavior_definition(behavior_id, relationship):
    """Creates behavior definition from ID and relationship."""
    definition = {
        'operator': relationship,
        'complexAudienceBehavior': {
            'behavior': {
                'id': behavior_id
            }
        }
    }
    return definition