character repository add, get and get_id