Well, that's easy for Sardinia, just divide into the four historic giudicati(kingdoms), Cagliari, Loguduro, Agugliastri(yes, it'd be lated absorbed by Cagliari, but I don't think it was by the start date), Arborea and Gallura. As for actual coded provinces, well, I don't know, how many slots do you have to spare? Either way, I think Cagliari(town and province) would be under Pisan control given that they'd just reconquered the place from the Saracens and began to rebuild it/repopulate it, actually it happened in exactly 1017 I believe.