Sigh. Implement id mapping in fmfd.