Notifications: the component id is to be used instead of slug

When the component slug and component id are the same, using the slug for setting notification component action is fine, but when the slug is different and moreover contains a "-" in it, the formatting function is not fired. Using the component id is in my opinion the var to use for notifications to avoid this trouble