In _bulkPrepare phase, add _type key with the concept id of the concept instance being inserted. It mimics the elasticsearch behavior, and this is helpful identifying the type of concept of the documents.
Fixed issue with conceptId
[performance] Make method checks conditional with constant, so Perl can optimize it.