Understanding How Gamification Influences Behaviour in Education