I have observed few pallets have type alias for primitive types for chain state.
For eg- Grandpa pallet has one storage setIdSession which shows type as SetId even though its primitive type is u64.
How can i impl same for custom pallet? I have tried creating type alias like PoolId but it always shows primitive type why?