Return objptridx_t from obj_allocate
Return objptridx_t from obj_create_copy
Use special type to reduce pointer/index conversions