server: send bar_id field

Mobile applications need it