Indexing moiré patterns of metal-supported graphene and related systems: strategies and pitfalls