Code Monitors: use DB ID rather than RecordID
Created by: camdencheek
This field references a database ID, but was using the record ID type (int) rather than the database ID type (int32). This forces us to do a bunch of casting to use it correctly.