id-based hash and equality methods for ComponentBase