---
title: identifier
framework: corebluetooth
role: symbol
role_heading: Instance Property
path: corebluetooth/cbpeer/identifier
---

# identifier

The UUID associated with the peer.

## Declaration

```swift
var identifier: UUID { get }
```

## Discussion

Discussion The value of this property represents the unique identifier of the peer. The first time a local manager encounters a peer, the system assigns the peer a UUID, represented by a new UUID object. Peers use UUID instances to identify themselves, instead of by the CBUUID objects that identify a peripheral’s services, characteristics, and descriptors. For more information, see Core Bluetooth Programming Guide.
