[TIMOB-13847] Added 'id' support for hooks to detect duplicate hooks being loaded.