Sex offender code: Tribes to implement offender registration