Expose the uid of the notice

Or the first component's uid anyway.