modified digital_device class to grant unique device names