I've done the tagging for this on my main hard drive. But I still have another hard drive to go.
So it would be nice to implement an automatic solution with IfElse.
It's easy to copy the values of a field to a text file. For instance (shortened):
Albéniz, Isaac (1860-1909)
Bach, Johann Sebastian (1685-1750)
Beethoven, Ludwig van (1770-1827)
Chopin, Frédéric (1810-1849)
Debussy, Claude (1862-1918)
Dvorák, Antonín (1841-1904)
Handel, George Frideric (1685-1759)
Haydn, Joseph (1732-1809)
Liszt, Franz (1811-1886)
Mahler, Gustav (1860-1911)
Mozart, Wolfgang Amadeus (1756-1791)
Rachmaninov, Sergei (1873-1943)
Ravel, Maurice (1875-1937)
Satie, Erik (1866-1925)
Scarlatti, Domenico (1685-1757)
Schumann, Robert (1810-1856)
Scriabin, Alexander (1872-1915)
Shostakovich, Dmitri (1906-1975)
Sibelius, Jean (1865-1957)
Tchaikovsky, Piotr Ilyich (1840-1893)
Likewise, I could recover the list of family names automatically.
Then some text manipulation in excell, or using a language like powershell or autohotkey, should build the ifelse condition easily.
A better solution would be to do the calculation externally.
Among the options, one would be to use MrC's pscriptor plugin. I will try that.