---
title: identifier
framework: intents
role: symbol
role_heading: Instance Property
path: intents/inspeakable/identifier
---

# identifier

The identifier associated with the string in your app’s custom vocabulary file.

## Declaration

```swift
optional var identifier: String? { get }
```

## Discussion

Discussion For phrases that are included in your app’s AppIntentVocabulary.plist file, this property contains the value of the VocabularyItemIdentifier key associated with that phrase. When determining the resolution for speakable strings, you can use this identifier (when present) to validate and resolve the term to a known phrase. If the specified phrase was not defined in your vocabulary file, this property is nil.

## See Also

### Getting the Identifier

- [vocabularyIdentifier](intents/inspeakable/vocabularyidentifier.md)
