Shaping Social Structure in Virtual Communities of Practice