Makes EntityIdDeserializer::isDeserializerFor more accurate

Remove dependance of EntityIdDeserializer on BasicEntityIdParser