added methods to ofxStatemachine
isObjectID method, state machine