زَيْدٌ مُعَلِّمٌ — Zayd is a teacher.
زَيْدٌ: nominative mubtadaʾ, definite proper name.
مُعَلِّمٌ: nominative khabar, indefinite.
In «مُعَلِّمٌ زَيْدٌ» (with this intended reading), «مُعَلِّمٌ» can be a fronted predicate and «زَيْدٌ» a delayed topic. Word order by itself does not change which noun is definite.