Add functions for handling unique device identifiers