Identities and allegiances in the Eastern Mediterranean after 1204