import function supports id type.