Add an option to avoid indexing empty values

Add a empty parameter such than SimpleAttribute().index(empty=True) allows indexation for empty values. This parameter should be false by default.