Official: Barella commits to Cagliari