Nuclear localization signals overlap DNA- or RNA-binding domains in nucleic acid-binding proteins.