Generally, elements that prefer a strongly charged state (far left or far right of the periodic table), tend to prefer ionic bonds ("binary ionic" in your question") whereas the closer to the middle of the table you go, the preference shifts to covalent bonding ("molecular compounds").