---
title: identifierPath
framework: classkit
role: symbol
role_heading: Instance Property
path: classkit/clscontext/identifierpath
---

# identifierPath

The identifier path that locates the context within the data store’s context hierarchy.

## Declaration

```swift
var identifierPath: [String] { get }
```

## Discussion

Discussion You can use the value stored in this property when calling the contexts(matchingIdentifierPath:completion:) method to retrieve the current context.

## See Also

### Managing context hierarchy

- [parent](classkit/clscontext/parent.md)
- [removeFromParent()](classkit/clscontext/removefromparent().md)
- [addChildContext(_:)](classkit/clscontext/addchildcontext(_:).md)
- [descendant(matchingIdentifierPath:completion:)](classkit/clscontext/descendant(matchingidentifierpath:completion:).md)
