// If you don't need to do anything in the create event
var _newlyCreatedInstance = instance_create_layer(x, y, layer, oSomeObject);
_newlyCreatedInstance.myCreator = id;
// Or have a member function that performs what you need
_newlyCreatedInstance.SetMyCreator(id); // Set the creator and do stuff
// If you really want to be able to access the creator in the objects create event then consider
// Set a global
global.theCreator = id;
// Now oSomeObjects create event can access the global variable 'theCreator'
var _newlyCreatedInstance = instance_create_layer(x, y, layer, oSomeObject);
// Reset the global to undefined
global.theCreator = undefined;