ref attr value is plain numeric id value, use db/add/retract id attr refid