The interplay of rationality and identity in a mathematical group work