# id

> An integer representing the underlying string uniquely.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public int id { get; }
```

### Remarks

Strings with different storage addresses but identical content will always be translated to the same id.

The id associated with a string may vary between consecutive runs and may be regenerated on domain reload. Use the \_value field for serialization instead.
