Store protocol by id, add lookup function for name