Use inspection for auto-mapping id and name