Correct/clarify usages of id and class in hooks.