added getLocalIdByUid method