Returns the associated key for the first value in @array that matches @value. If no such value is found then null is returned.