BT: Device name handling refactored