Added SID which takes a parameter and returns a symbol

Added sid class which saves a sid to symbol mapping and returns the mapped symbol.