Created key to id adapters for TenantAccount and Unit.