#1031 API: custom options identifier added to retrieving / saving  option models and updated custom options saving logic