---
title: identity
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nspresentationintent/identity
---

# identity

A unique identifier for the intent in the document.

## Declaration

```occ
@property (readonly) NSInteger identity;
```

## Discussion

Discussion Use the value in this property to disambiguate attributes that apply to contiguous text. For example, you might use it to differentiate between two headers in a row with the same level.

## See Also

### Getting the intent identity

- [intentKind](foundation/nspresentationintent/intentkind.md)
- [parentIntent](foundation/nspresentationintent/parentintent.md)
- [isEquivalentToPresentationIntent:](foundation/nspresentationintent/isequivalenttopresentationintent:.md)
