Switched id_code to use SecureRandom and added announcements