what kind of element form an onion after ionic bonding