Fixes #4311 - searchables, id resolver and option builders
Refs #4311 - read and write commands merged
Refs #4311 - get_resource_id refactoring