Treat device identifiers as prefixes