Added ability to retrieve an option using its name

Added unique constraint on option name field