Spectral emission from beryllium in plasmas