Create a device-id that matches what istgt would generate.

Ticket: #5230