Function that will initialize the pattern instance.
The id of the Notification element
the Notification instance
Function that will initialize the pattern instance.