Sorting out the nuclear envelope from the endoplasmic reticulum