---
title: identifier
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/locale/collation-swift.struct/identifier
---

# identifier

The collation’s BCP 47 identifier.

## Declaration

```swift
var identifier: String { get set }
```
