How to ensure a field is populated before use in a trigger
Community wiki answer:

You could use a computed column for BedId. No need to be actually stored.

Would something like Bedid AS CONCAT(WardId, '-', Id) work for you?