diff --git a/uSync.Migrations/Context/SyncMigrationContext.cs b/uSync.Migrations/Context/SyncMigrationContext.cs
index ffa26af4..ccf8b57b 100644
--- a/uSync.Migrations/Context/SyncMigrationContext.cs
+++ b/uSync.Migrations/Context/SyncMigrationContext.cs
@@ -76,6 +76,14 @@ public void AddKey(int id, Guid key)
///
public Guid GetKey(int id)
=> _idKeyMap?.TryGetValue(id, out var key) == true ? key : Guid.Empty;
+
+ ///
+ /// Retrieves the `int` ID reference (from the v7 CMS) from the `Guid` key.
+ ///
+ ///
+ ///
+ public int GetId(Guid key)
+ => _idKeyMap?.FirstOrDefault(x => x.Value == key).Key ?? 0;
public void Dispose()
{ }