Text this: Investigation into the fundamental principles of fiber optic evanescent sensors