add medium to id of bid