Added fetchall value to key name generation
Added int casting to attr_id / entity_type_id on public methods, safety first
Typo
Removed dev testing names for elasticsearch index
Refactored setOrder into a more descriptive buildSortByAttribute method