Studies of beta Coronae Borealis. II - Identification of the lanthanides