filter/mangle by hostname / computername

Need some help to filter or mangle traffic by hostname (not IP).
Isee that hostname show up when assigning DHCP, now I need to filter it.
(by IP or MAC is NOT an option in this case).

anyone know how to do? either in 2.9.51 or 3.x

/Roland