Move IIdKeyEntity to common dll