onomancia or onomancía.
(Del gr. ???(µa, name, and -mancia).
1. f. art that tries to guess by the name of a person happiness or misfortune that it has to happen.