Small changes for syn_get_id().