Validating presence of references.
Set topic id as sender of notifications.