Here's how we know:
* Be stands for beryllium, a metal.
* N stands for nitrogen, a non-metal.
* The compound is formed by the ionic bonding between beryllium and nitrogen.
Therefore, the name is simply formed by combining the names of the elements with the suffix "-ide" added to the non-metal.