Converts a string import into a dot reference import.