Creates an instance of IdStrategy.
Configuration options for the strategy.
A function to validate the ID name.
Generates a CSS selector part for the given element based on its ID.
The DOM element for which to generate the selector.
A SelectorPart object containing the selector name and penalty, or null if no valid ID is found.
Strategy for generating CSS selectors based on the ID of an element.