changes ID data type from domain to logical