(Assuming you are using lite-c...)
When you create an entity the filename of the model/sprite is stored in the 'type' property.
ie :: me = ent_create("sphere.mdl", ....); //now me.type=="sphere.mdl"
so by saying ent_create(me.type, ....);, you are using the same model as 'me' has...
And, yes, you can assign an action to the entity, but I dont know of any way to find out
what action is assigned to the source entity. In theory there can be more than one...