face-id

face-id is a compiled Lisp function in `faces.el'.

(face-id FACE &optional FRAME)

Return the internal ID of face with name FACE.
If FACE is a face-alias, return the ID of the target face.
The optional argument FRAME is ignored, since the internal face ID
of a face name is the same for all frames.