The halo model as a versatile tool to predict intrinsic alignments