Add `get_assessment_id` function to exposurelib

2 jobs for feature/60-modify-loss-view-functions in 47 seconds (queued for 2 seconds)