How to get entity type from entity_metadata_wrapper
Hmmm, I seem to have found a way (unsure if this is the 'correct' way...)

$entity = entity_metadata_wrapper('node', 1);
$info = $entity-&gt;info();  // entity info as an array
$entity_type = $info['type']; // returns 'node' for node entities