PIM-1562 : refactor attribute processor
PIM-1562 : refactor attribute option processor