Why is aluminum fluoride ionic and aluminum iodide is covalent?

Aluminium iodide is covalent because the electron pair is easily dragged away from the iodide ion. On the other hand, aluminium fluoride is ionic because the aluminium ion can't polarise the small fluoride ion sufficiently to form a covalent bond.