Parses subject name.