Magnetism in Hume-Rothery alloys