Added method for translating user-specified strings to floodlight enum-d field types.