Whenever is it ionic? When could it be covalent?