Black hole attractors and U(1) Fayet-Iliopoulos gaugings: analysis and classification