Created the model_type() method to determine whether the model is local or global.
Authored by: bugman 2008-10-12
Parent: [r7641]
Child: [r7643]