What is the ability of an atom to attract electrons when the atom is in a compound?